FILE EXIST

This command will return an integer value of one if the specified file exists, otherwise zero is returned.

  Syntax
Return Integer=FILE EXIST(Filename)
  Parameters
Filename
String
The name of the file to check

  Returns

will return an integer value of one if the specified file exists, otherwise zero is returned

  Example Code
cls
print "file exist= "+file exist("dogdo.txt")
do
loop
end
  See also

FILE Commands Menu
Index